﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Zuoye.Index" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="box_right col-xs-9 ">
    <!--用户信息-->
    <%=InitUser() %>
    <!--文章列表-->
    <div class="segment3">
        <div class="table-responsive" style="padding: 0 10px;">
            <table class="table">
                <thead>
                    <tr>
                        <th>
                            <input class="checkbox" type="checkbox" name="subBox"></th>
                        <th>作者</th>
                        <th>日志标题</th>
                        <th>查看次数</th>
                        <th>创建时间</th>
                        <th>操作</th>
                    </tr>
                </thead>

                <tbody>
                    <tr class="mylist">
                        <td>
                            <input class="checkbox" type="checkbox" name="subBox"></td>
                        <td>菠萝蜜</td>
                        <td>怎么做好网站的百度优化工作？</td>
                        <td>12</td>
                        <td>23/11/2013</td>
                        <td><a href="rizhi.html">修改</a> | <a href="show.html">查看</a></td>
                    </tr>
                    <tr class="mylist">
                        <td>
                            <input class="checkbox" type="checkbox" name="subBox"></td>
                        <td>菠萝蜜</td>
                        <td>怎么做好网站的百度优化工作？</td>
                        <td>12</td>
                        <td>23/11/2013</td>
                        <td><a href="rizhi.html">修改</a> | <a href="show.html">查看</a></td>
                    </tr>
                    <tr class="mylist">
                        <td>
                            <input class="checkbox" type="checkbox" name="subBox"></td>
                        <td>菠萝蜜</td>
                        <td>最近学校要开展一系列的活动，主要是培养大</td>
                        <td>12</td>
                        <td>23/11/2013</td>
                        <td><a href="#">修改</a> | <a href="#">查看</a></td>
                    </tr>
                    <tr class="mylist">
                        <td>
                            <input class="checkbox" type="checkbox" name="subBox"></td>
                        <td>菠萝蜜</td>
                        <td>怎么做好网站的百度优化工作？</td>
                        <td>12</td>
                        <td>23/11/2013</td>
                        <td><a href="#">修改</a> | <a href="#">查看</a></td>
                    </tr>
                    <tr class="mylist">
                        <td>
                            <input class="checkbox" type="checkbox" name="subBox"></td>
                        <td>菠萝蜜</td>
                        <td>怎么做好网站的百度优化工作？</td>
                        <td>12</td>
                        <td>23/11/2013</td>
                        <td><a href="#">修改</a> | <a href="#">查看</a></td>
                    </tr>
                    <tr class="mylist">
                        <td>
                            <input class="checkbox" type="checkbox" name="subBox"></td>
                        <td>菠萝蜜</td>
                        <td>怎么做好网站的百度优化工作？</td>
                        <td>12</td>
                        <td>23/11/2013</td>
                        <td><a href="#">修改</a> | <a href="#">查看</a></td>
                    </tr>
                    <tr class="mylist">
                        <td>
                            <input class="checkbox" type="checkbox" name="subBox"></td>
                        <td>菠萝蜜</td>
                        <td>怎么做好网站的百度优化工作？</td>
                        <td>12</td>
                        <td>23/11/2013</td>
                        <td><a href="#">修改</a> | <a href="#">查看</a></td>
                    </tr>

                </tbody>

            </table>
            <div class="clear"></div>
            <div class="case_page">
                <div class="page_left">
                    <button id="selectAll">全选</button>
                    <button id="unSelect">全不选</button>
                    <button id="reverse">反选</button>
                    <span class="glyphicon glyphicon-trash"></span><a href="#" id="delete">&nbsp;删除</a>
                </div>
                <div class="page_right">
                    <ul class="pagination">
                        <li><a href="#">«</a></li>
                        <li class="active"><a href="#">1</a></li>
                        <li><a href="#">2</a></li>
                        <li><a href="#">3</a></li>
                        <li><a href="#">4</a></li>
                        <li><a href="#">5</a></li>
                        <li><a href="#">»</a></li>
                    </ul>
                </div>
            </div>

        </div>
    </div>

    <script type="text/javascript">

        $(function () {

            //全选或全不选和反选
            $("#selectAll").click(function () {//全选  
                $(".mylist :checkbox").attr("checked", true);
            });

            $("#unSelect").click(function () {//全不选  
                $(".mylist :checkbox").attr("checked", false);
            });

        })
    </script>

</div>
</asp:Content>
